﻿<%@ Page Language="vb" ValidateRequest="false" MasterPageFile="Admin.Master" Title="Verifying Images &lsaquo; Meo Tom's Blog" AutoEventWireup="false" CodeBehind="UpImages_Verifying.aspx.vb" Inherits="MeoTom.Web.Blog.UpImages_Verifying" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ctph" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="float:left;width:100%;">
                <div id="iconArticle" class="icon32"><br /></div>
                <h2>Verifying Image</h2>
            </div>
            <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                <ProgressTemplate>
                    <div class="lblLoading">Loading...</div>
                </ProgressTemplate>
            </asp:UpdateProgress>

            <div class="form-wrap" style="float:left;width:98%;margin-right:20px;">
                <select name="selectedAction0">
                    <option value="0">Action</option>
                    <option value="1">-- Fail</option>
                    <option value="2">-- Delete</option>
                </select>
                <asp:Button ID="btnApply" CssClass="button" runat="server" Width="60" Text="Apply" />
                <asp:GridView ID="grvListImage" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" 
                    DataKeyNames="UploadID" PageSize="5" EmptyDataText="No posts found" CssClass="tblMain" style="border-collapse:separate;" border="0">
                    <Columns>
                        <asp:TemplateField ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" HeaderText="&lt;input type=&quot;checkbox&quot; name=&quot;cboCheck&quot; onfocus=&quot;this.blur();&quot; onclick=&quot;Util.CheckAll(document.aspnetForm.cboCheckImage);&quot; />">
                            <ItemTemplate>
                                <input type="checkbox" onfocus="this.blur();" name="cboCheckImage" value="<%#Eval("UploadID")%>" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Images" ItemStyle-Width="25%">
                            <ItemTemplate>
                                <%#DisplayImage(Eval("UploadBy"), Eval("UploadName"), DateTime.Parse(Eval("CreateDate").ToString))%>
                            </ItemTemplate>
                        </asp:TemplateField>                        
                        <asp:TemplateField HeaderText="Upload Date" ItemStyle-Width="10%">
                            <ItemTemplate>
                                <%#String.Format("{0:dd/MM/yyyy HH:mm:ss}", DateTime.Parse(Eval("CreateDate")).AddHours(MeoTom.Core.Configs.TimeLine))%>
                            </ItemTemplate>
                        </asp:TemplateField>                        
                        <asp:BoundField DataField="AddedByIP" HeaderText="From IP Address" ItemStyle-Width="5%" />
                    </Columns>
                    <HeaderStyle CssClass="header" />
                    <PagerSettings Mode="NumericFirstLast" />
                    <PagerStyle CssClass="footer" Font-Size="14" />
                </asp:GridView>
                <select name="selectedAction1">
                    <option value="0">Action</option>
                    <option value="1">-- Fail</option>
                    <option value="2">-- Delete</option>
                </select>
                <asp:Button ID="btnApply2" CssClass="button" runat="server" Width="60" Text="Apply" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script language="javascript" type="text/javascript">
        Menus.DisplaySubMenu('menu-2-2');
        Menus.ChangeSelectedMenu('menu-2-2');
    </script>   
</asp:Content>